﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Lima.ResumeSys.Util
{
    /// <summary>
    /// 国密4
    /// </summary>
    public class SM4Context
    {
        /// <summary>
        /// 1表示加密，0表示解密
        /// </summary>
        public int mode;

        /// <summary>
        /// 密钥
        /// </summary>
        public long[] sk;

        /// <summary>
        /// 是否补足16进制字符串
        /// </summary>
        public bool isPadding;

        public SM4Context()
        {
            this.mode = 1;
            this.isPadding = true;
            this.sk = new long[32];
        }
    }
}
